#ifndef __YAFFS_IOCTL_H__
#define __YAFFS_IOCTL_H__

#include "yaffs_guts.h"

#define MY_MAGIC 'C'
#define SET_PASSWORD _IOW(MY_MAGIC, 1, char *)
#define SET_LEVEL_ID _IOW(MY_MAGIC, 2, char *)
#define GET_OPEN_LEVELS _IOR(MY_MAGIC, 3, char *)
#define SET_PREV_LEVEL _IOW(MY_MAGIC, 4, int)
#define CREATE_LEVEL _IO(MY_MAGIC, 5)
#define OPEN_LEVEL _IO(MY_MAGIC, 6)
#define ARG_LENGTH 18

struct level_name_list {
    char name[YAFFS_MAX_NAME_LENGTH + 1];
    struct list_head name_list;
};

#endif
